package com.tuantuan.mybatis_plus;

/**
 * @author: wangqinmin
 * @date : 2020/10/22
 * @description: 仰天大笑出门去，我辈岂是蓬蒿人
 */
public interface Config {


    /**
     * ============================================== 数据库相关配置 start ===============================================
     * include: 需要生成代码的表名，多个表名传参格式：String[] include = {"t_user", "t_person"};
     */
    String url = "jdbc:mysql://47.96.100.61:33061/yuanyuan?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai";
    String driver_name = "com.mysql.cj.jdbc.Driver";
    String username = "root";
    String password = "wangqinmin";
    String[] include = {"t_user","en_tax"};
    // ============================================== 数据库相关配置 end =================================================


    /**
     * ================================================= 包名配置 start =================================================
     * parent: 包前缀 例如：com.taobao
     * module_name: 模块名
     */
    String parent = "com";
    String module_name = "yuanyuan";
    // ================================================== 包名配置 end ==================================================


    /**
     * ==================================================== 其他配置 ====================================================
     * author: 作者
     * open: 代码生成后是否自动打开文件夹
     * Swagger2: 实体属性是否使用 Swagger2 注解
     * baseColumnList: mapper.xml生成baseColumnList
     * entityTableFieldAnnotationEnable: 是否生成实体时，生成字段注解
     */
    String author = "李白";
    boolean open = true;
    boolean Swagger2 = true;
    boolean baseColumnList = true;
    boolean entityTableFieldAnnotationEnable = true;

    /**
     * ============================================ 指定代码生成位置 （一定要配置）=========================================
     * Windows系统： String projectPath = "C:\\";
     * Mac系统：String projectPath = "/Users/wangqinmin/Desktop";
     */
    String projectPath = "/Users/wangqinmin/Desktop";


}
